package com.smr.micservice.diablouser;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * feign客户端
 */
@EnableFeignClients
/**
 * 熔断器
 */
@EnableCircuitBreaker
/**
 * 服务发现客户端
 */
@EnableSwagger2
@EnableDiscoveryClient
@SpringBootApplication
public class DiabloUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(DiabloUserApplication.class, args);
    }
}
